package Visitor;

/**
 * @Author zhangjinxi
 * @Date: Created in 10:04 2018/3/2
 * @Description:
 */
public class MyVisitor implements Visitor {

    @Override
    public void visit(Subject subject) {
        System.out.println("visit the subject : " + subject.getSubject());
    }

}
